﻿using Common.Events;
using Prism.Events;
using System.Windows;
using System.Windows.Controls;

namespace ModuleComomn.Views
{
    /// <summary>
    /// Interaction logic for TFreezable
    /// </summary>
    public partial class TFreezable : UserControl
    {
        public TFreezable(IEventAggregator eventAggregator)
        {
            InitializeComponent();
            eventAggregator.GetEvent<MessageNotyifyEvent>().Subscribe(mea => {
                MessageBox.Show(mea);
            });
        }
    }
}
